package czy.demo.config;

import czy.demo.entity.BaseEntity;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/* JPA配置，实体包，仓库包 */
@Configuration
@EntityScan(basePackageClasses = BaseEntity.class)
@EnableJpaRepositories(basePackages = "czy.demo.repository")
public class SpringJPAConfig {
}
